#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Times;
using Cephei.QL.Indexes;
using Cephei.QL;
namespace Cephei.QL.Cashflows
{
    /// <summary> 
	/// ! helper class building a sequence of average BMA coupons
	/// </summary>
    [Guid ("51D54B99-7EBE-431f-A8B5-BD59D2BB948E"),ComVisible(true)]
	public interface IAverageBMALeg 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IAverageBMALeg WithGearings(Cephei.Core.IVector<Double> gearings);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IAverageBMALeg WithNotionals(Cephei.Core.IVector<Double> notionals);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IAverageBMALeg WithPaymentAdjustment(QL.Times.BusinessDayConventionEnum convention);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IAverageBMALeg WithPaymentDayCounter(Cephei.QL.Times.IDayCounter dayCounter);
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.QL.Cashflows.IAverageBMALeg WithSpreads(Cephei.Core.IVector<Double> spreads);
    }   

    /// <summary> 
	/// ! helper class building a sequence of average BMA coupons Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IAverageBMALeg_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IAverageBMALeg Create (Cephei.QL.Times.ISchedule schedule, Cephei.QL.Indexes.IBMAIndex index);
    }
}

